<tagLib name="html" />

<include file="Public:header" />

<div class="container" id="cpcontainer">
    <h3>{$Think.lang.feature.title}</h3>
    <form name="cpform" method="post" action="__URL__/feature">
    <input type="hidden" name="op" value="save" />
    <table class="tb tb2">
        <tbody id="post">
        <tr class="nobg"><th colspan="15" class="partition">{$Think.lang.feature.post}</td></tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.tag_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="tag_enable" radios="tagEnableRadios" checked="tagEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.comment_on_question_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="comment_on_question_enable" radios="commentOnQuestionEnableRadios" checked="commentOnQuestionEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.comment_on_answer_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="comment_on_answer_enable" radios="commentOnAnswerEnableRadios" checked="commentOnAnswerEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.markup_mode}</td></tr>
        <tr>
            <td class="vtop rowform">
            	<ul class="nofloat" onmouseover="altStyle(this)">
            		<volist name="markupModeRadios" id="vo">
            		<li><input type="radio" name="markup_mode" value="{$key}" <eq name="key" value="$markupModeChecked">checked</eq> /> {$vo} </li>
            		</volist>
            	</ul>
            </td>
            <td class="vtop tips2">{$Think.lang.feature.markup_mode_explain}</td>
        </tr>
        
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.word_censor_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="word_censor_enable" radios="wordCensorEnableRadios" checked="wordCensorEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2">{$Think.lang.feature.word_censor_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.close_expired_question_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="close_expired_question_enable" radios="closeExpiredQuestionEnableRadios" checked="closeExpiredQuestionEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2">{$Think.lang.feature.close_expired_question_enable_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.question_expiration}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="question_expiration" value="{$rs.question_expiration}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.feature.question_expiration_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.vote_expiration}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="vote_expiration" value="{$rs.vote_expiration}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.feature.vote_expiration_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.question_title_length}</td></tr>
        <tr>
            <td class="vtop rowform">
            	<input name="min_title_chars" value="{$rs.min_title_chars}" type="text" class="txt"  /> {$Think.lang.min} <br/><br/>
            	<input name="max_title_chars" value="{$rs.max_title_chars}" type="text" class="txt"  /> {$Think.lang.max}
            </td>
            <td class=" tips2" valign="middle">{$Think.lang.feature.question_title_length_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.post_length}</td></tr>
        <tr>
            <td class="vtop rowform">
            	<input name="min_post_chars" value="{$rs.min_post_chars}" type="text" class="txt"  /> {$Think.lang.min} <br/><br/>
            	<input name="max_post_chars" value="{$rs.max_post_chars}" type="text" class="txt"  /> {$Think.lang.max}
            </td>
            <td class="tips2" valign="middle">{$Think.lang.feature.post_length_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.max_post_tags}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_post_tags" value="{$rs.max_post_tags}" type="text" class="txt"  /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.max_post_links}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_post_links" value="{$rs.max_post_links}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.feature.max_post_links_explain}</td>
        </tr>
        </tbody>
		
        <tbody id="team">
        <tr class="nobg"><th colspan="15" class="partition">{$Think.lang.feature.team}</td></tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.create_team_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="create_team_enable" radios="createTeamEnableRadios" checked="createTeamEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2">{$Think.lang.feature.create_team_enable_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.answer_revision_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="answer_revision_enable" radios="answerRevisionEnableRadios" checked="answerRevisionEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.allow_team_rename}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_team_rename" radios="allowTeamRenameRadios" checked="allowTeamRenameChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.allow_team_change_category}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_team_recategorize" radios="allowTeamRecategorizeRadios" checked="allowTeamRecategorizeChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.max_creatable_teams}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_creatable_teams" value="{$rs.max_creatable_teams}" type="text" class="txt"  /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.max_joinable_teams}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_joinable_teams" value="{$rs.max_joinable_teams}" type="text" class="txt"  /></td>
            <td class="vtop tips2"></td>
        </tr>
        </tbody>

        <tbody id="feed">
        <tr class="nobg"><th colspan="15" class="partition">{$Think.lang.feature.feed}</td></tr>
	    <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.feed_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="feed_enable" radios="feedEnableRadios" checked="feedEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.rss_ttl}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="feed_rss_ttl" value="{$rs.feed_rss_ttl}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.feature.rss_ttl_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.max_feed_items}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_feed_items" value="{$rs.max_feed_items}" type="text" class="txt"  /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.feed_fulltext_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="feed_fulltext_enable" radios="feedFulltextEnableRadios" checked="feedFulltextEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        </tbody>

        <tbody id="security">
        <tr class="nobg"><th colspan="15" class="partition">{$Think.lang.feature.security}</td></tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.token_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="form_token_enable" radios="formTokenEnableRadios" checked="formTokenEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2">{$Think.lang.feature.form_token_enable_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.email_check_mx_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="email_check_mx_enable" radios="emailCheckMxEnableRadios" checked="emailCheckMxEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2">{$Think.lang.feature.email_check_mx_enable_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.max_login_attempts}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_login_attempts" value="{$rs.max_login_attempts}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.feature.max_login_attempts_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.acp_ip_whitelist}</td></tr>
        <tr>
            <td class="vtop rowform">
            <textarea onkeyup="textareasize(this)" name="acp_ip_whitelist" rows="6" cols="50" class="tarea">{$rs.acp_ip_whitelist}</textarea></td>
            <td class="vtop tips2">{$Think.lang.feature.acp_ip_whitelist_explain}</td>
        </tr>
        </tbody>

        <tbody id="misc">
        <tr class="nobg"><th colspan="15" class="partition">{$Think.lang.feature.misc}</td></tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.bot_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="bot_enable" radios="botEnableRadios" checked="botEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2">{$Think.lang.feature.bot_enable_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.google_site_search_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="google_site_search_enable" radios="googleSiteSearchEnableRadios" checked="googleSiteSearchEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2">{$Think.lang.feature.google_site_search_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.recyclebin_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="recycle_bin_enable" radios="recycleBinEnableRadios" checked="recycleBinEnableChecked" separator=" " />
            </td>
            <td class="vtop tips2">{$Think.lang.feature.recyclebin_enable_explain}</td>
        </tr>
        </tbody>
        
        <tbody id="google_analytics">
        <tr class="nobg"><th colspan="15" class="partition">{$Think.lang.feature.google_analytics}</td></tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.google_analytics_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="google_analytics_enable" radios="googleAnalyticsEnableRadios" checked="googleAnalyticsEnableChecked" separator=" "  />
            </td>
            <td class="vtop tips2">{$Think.lang.feature.google_analytics_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.feature.google_ua_code}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="google_ua_code" value="{$rs.google_ua_code}" type="text" class="txt"  /></td>
            <td class="vtop tips2"></td>
        </tr>
        </tbody>

        <tr class="nobg">
            <td colspan="15"><div class="fixsel"><input type="submit" class="btn" name="submit" value="{$Think.lang.submit}"></div></td>
        </tr>
    </table>
    </form>
</div>

<include file="Public:footer" />
